import ajax from "@/utilszzq/request";
import '../mockzzq/mock'


export function getprmg(data?: string) {
    return ajax({
        url: '/api/prmgList',
        method: 'post',
    })
}


export function getprmg2(data?: string) {
    return ajax({
        url: '/api/prmgList2',
        method: 'post',
    })
}

export function search(data: any) {
    return ajax({
        url: '/api/search',
        method: 'post',
        data
    })
}
// export function search(data?:string) {
//     return ajax({
//         url: '/api/search',
//         method: 'post',
//         data
//     })
// }
